package com.glela.serial.mapper;

import com.glela.serial.model.TitleDiscoveryProduct;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface TitleDiscoveryProductMapper {
//    int deleteByPrimaryKey(Integer id);

    int insert(TitleDiscoveryProduct record);

    int insertSelective(TitleDiscoveryProduct record);

    TitleDiscoveryProduct selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TitleDiscoveryProduct record);

    int updateByPrimaryKey(TitleDiscoveryProduct record);

	List<TitleDiscoveryProduct> selectAll(TitleDiscoveryProduct request);

    List<TitleDiscoveryProduct> selectAll1(@Param("titleId") String titleId);
    //批量查询素材商品
    List<TitleDiscoveryProduct> selectAllBatch(@Param("titleIds") List<Integer> titleIds);
}